import java.util.HashSet;

import javax.swing.JFrame;
/**
 * Super classe des vues
 * @author IUT,  GALA 
 * @version 1.0
 */

public abstract class Index {
	
	private HashSet<Article> _article;
	private HashSet<Ouvrage> _ouvrage;
	
	public Index(){
	new HashSet<Article>();
	new HashSet<Ouvrage>();
	}
	
	private HashSet<Article> getArticles(){
		return _article;
	}
	
	private HashSet<Ouvrage> getOuvrages(){
		return _ouvrage;
	}
	
	private void setArticle(Article a){
		_article.add(a);
	}
	
	private void setOuvrage(Ouvrage o){
		_ouvrage.add(o);
	}
	
	

}
